package com.article.dao;

import com.article.common.PageParam;
import com.article.model.Discuss;
import com.article.model.Message;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IDiscussDao {

    int insert(Discuss entity);

    int updateById(Discuss entity);

    int deleteById(Integer id);

    List<Discuss> queryAll(@Param(value = "pageParam") PageParam pageParam);

    List<Discuss> queryAllData();

    Discuss selectById(Integer id);
}
